<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			
		</style>
		<link rel="stylesheet" type="text/css" href="css/base.css" />
		<link rel="stylesheet" type="text/css" href="css/join.css" />
	</head>

	<body>
		<!--头部-->
		<div id="base_top_bg" >
			<div class="base_top_navDiv">
				<div class="base_top_logo" onclick="location.href='index.html'"></div>
				
				<ul class="base_top_nav">
					<li class="w42" id="index_dl">登录</li>
					<li class="w40" id="index_tcdl" onclick="location.href='register.html'"></li>
					<li class="w40" onclick="location.href='shop.html'"></li>
					<li class="w56" id="base_gwc" >购物车</li>
					<li></li>
					<li class="w40"></li>
					<li class="w40"></li>
					<li class="w40"></li>
				</ul>
				<div id="base_dlcg"></div>

				<img class="base_weixin" src="img/index/index_weixin1.png" />
				<img class="base_weibo" src="img/index/index_weibo1.png" />
				<img class="base_weitao" src="img/index/index_weitao1.png" />
			</div>
		</div>
		<ul id="base_leftAdd_content">
			<li>
				<a href="news.html">资讯</a>
			</li>
			<li>
				<a href="join.html">加盟</a>
			</li>
			<li>
				<a href="job.html">纳贤</a>
			</li>
			<li>
				<a href="woker.html">匠人</a>
			</li>
			<li>
				<a href="cooperation.html">合作</a>
			</li>
			<li>
				<a href="actor.html">选角</a>
			</li>
			<li>
				<a href="media.html">媒体</a>
			</li>
		</ul>
		<div id="base_leftAdd">
			<span></span>
		</div>
		<!--模拟客服开始-->
		<div id="top"></div>
		<div id="main">
			<span id="base_guanbi"></span>
			<div id="txt">花笙记客服代表</div>
			<div id="show">
				<span class="show_span">很高兴为您服务！</span>
			</div>
			<input type="text" name="text" id="text" value="" />
			<input type="button" style="cursor: pointer;" id="send" value="发送" />
		</div>
		<!--模拟客服结束-->
		<div id="jion_msj_main">

			<!--中间-->
			<div id="jion_msj_scend1">
				<img src="img/join/jion_1.jpg" /><span id="jion_msj_gdtu">
			<img src="img/join/jion_2.png"/>
				</span>
			</div>

			<!--弹出-->
			<div id="job_msj_scend2">
				<div id="job_msj_scend1_1">
					<form>
						<ul class="coopcontent">
							<li style="height:150px;">加盟<img class="gaunbi" src="img/job/job_30.png" /></li>
							<li style="height: 18px;">欢迎您加盟花笙记</li>
							<li><input type="text" placeholder="阁下姓名" class="jion_msj_inpcon" /></li>
							<li><input id="dianhua" type="text" placeholder="联系电话" class="jion_msj_inpcon" /></li>
							<li><input  type="text" placeholder="联系地址" class="jion_msj_inpcon" /></li>
							<li><input id="youxiang" type="email" placeholder="电子邮箱" class="jion_msj_inpcon" /></li>
							<li class="possubmit">
								<a id="submita" class="submit">申请加入</a>
							</li>
						</ul>

					</form>
				</div>
				<div id="job_msj_scend3">
					<p>您的申请我们已收到</p>
					<p>请您静候佳音</p>
				</div>
			</div>
		</div>

		<script src="js/jquery1.11.0.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/av-min-2.1.2.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/base.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			//弹出动画
			$("#jion_msj_gdtu").bind("click", function() {
				$("#job_msj_scend2").animate({ left: '+0.1%' }, "slow");
			})
			$(".gaunbi").bind("click", function() {
				$("#job_msj_scend2").animate({ left: '-100%' }, "slow");
			})

			$("#submita").bind("click", function() {
				$("#job_msj_scend3").show().animate({
					height: 'toggle',
					opacity: 'toggle'
				}, 3000);
				$("input").val("");
			})
			
            //验证
			function youxiang() {
				var email = document.getElementById("youxiang");
				var yzyx = document.getElementById("yzyx");
				var evalue = email.value;
				var e1 = evalue.indexOf("@"); //检索邮箱中的@值首次出现的位置，返回坐标
				var e2 = evalue.lastIndexOf("."); //从后往前检索点，返回第一个
				var e3 = evalue.indexOf(".", e1); //检索@后边的.的位置
				var you = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
				if(you.test(email.value)) {
					yzyx.innerHTML = "邮箱格式正确";
					yzyx.style.color = "green"
				} else {
					yzyx.innerHTML = "邮箱格式不正确";
					yzyx.style.color = "red";
				};
			};
		</script>
	</body>

</html>